﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace ERP.ERPModels.Production.ProductionManagement
{
    /// <summary>
    /// 生产退料主表
    /// </summary>
    public class ProductionReturn:Entity<int>
    {
        

        /// <summary>
        /// 退料单编号 (varchar(30) NOT NULL)
        /// </summary>
        public string ReturnCode { get; set; }

        /// <summary>
        /// 退料单名称 (varchar(30) NOT NULL)
        /// </summary>
        public string ReturnName { get; set; }

        /// <summary>
        /// 生产工单 (varchar(30))
        /// </summary>
        public string WorkOrder { get; set; }

        /// <summary>
        /// 仓库ID (integer)
        /// </summary>
        public int WarehouseId { get; set; }

        /// <summary>
        /// 接收仓库名称 (varchar(30))
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 退料日期
        /// </summary>
        public DateTime ReturnDate { get; set; }

        /// <summary>
        /// 备注 (varchar(200))
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 状态 (varchar(30))
        /// </summary>
        public string Status { get; set; }
    }
}
